:deep(.fmt) {
  line-height: 22px;
  font-size: 14px;
  word-wrap: break-word;
  color: $strongFontColor;
  a {
    color: #009a61;
    text-decoration: none;
  }
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }
  p {
    margin-top: 10px;
    font-size: 14px;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 10px 0;
  }

  h1 + .widget-codetool + pre,
  h2 + .widget-codetool + pre,
  h3 + .widget-codetool + pre {
    margin-top: 12px !important;
  }

  h1,
  h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }

  h1:first-child,
  h2:first-child,
  h3:first-child,
  h4:first-child,
  p:first-child,
  ul:first-child,
  ol:first-child,
  blockquote:first-child {
    margin-top: 0;
  }

  ul,
  ol {
    margin-left: 16px;
    margin-top: 8px;
    padding-left: 0;
  }

  ul li,
  ol li {
    margin: 4px 0;
    list-style: disc;
  }

  ul p,
  ol p {
    margin: 0;
  }

  p:last-child {
    margin-bottom: 0;
  }

  p > p:empty,
  div > p:empty,
  p > div:empty,
  div > div:empty,
  div > br:only-child,
  p + br,
  img + br {
    display: none;
  }

  img,
  video,
  audio {
    position: static !important;
    max-width: 100%;
  }

  img {
    padding: 3px;
    border: 1px solid #ddd;
  }

  img.emoji {
    padding: 0;
    border: none;
  }

  blockquote {
    border-left: 2px solid #009a61;
    background: $baseBackColor;
    color: $strongFontColor;
    font-size: 12px;
  }

  pre,
  code {
    font-size: 12px;
    margin-top: 8px;
  }

  pre {
    font-family: 'Source Code Pro', Consolas, Menlo, Monaco, 'Courier New',
      monospace;
    padding: 10px;
    margin-top: 8px;
    border: none;
    overflow: auto;
    line-height: 24px;
    max-height: 350px;
    position: relative;
    background-color: $baseBackColor;
    font-size: 12px;
    -webkit-overflow-scrolling: touch;
    border-radius: 5px;
  }

  pre code {
    background: none;
    font-size: 10px;
    overflow-wrap: normal;
    white-space: inherit;
  }

  hr {
    margin: 16px auto;
    border-top: 2px dotted #eee;
  }

  kbd {
    margin: 0 4px;
    padding: 3px 4px;
    background: #eee;
    color: $strongFontColor;
  }

  .x-scroll {
    overflow-x: auto;
  }

  table {
    width: 100%;
  }

  table th,
  table td {
    border: 1px solid #e6e6e6;
    padding: 5px 8px;
    word-break: normal;
  }

  table th {
    background: #f3f3f3;
  }

  a:not(.btn) {
    border-bottom: 1px solid rgba(0, 154, 97, 0.25);
    padding-bottom: 1px;
  }

  a:not(.btn):hover {
    border-bottom: 1px solid #009a61;
    text-decoration: none;
  }

  .hljs {
    display: block;
    overflow-x: auto;
    padding: 6px;
    color: $mainColor;
    background: #f8f8f8;
  }

  .hljs-comment,
  .hljs-quote {
    color: #998;
    font-style: italic;
  }

  .hljs-keyword,
  .hljs-selector-tag,
  .hljs-subst {
    color: $mainColor;
    font-weight: bold;
  }

  .hljs-number,
  .hljs-literal,
  .hljs-variable,
  .hljs-template-variable,
  .hljs-tag .hljs-attr {
    color: #008080;
  }

  .hljs-string,
  .hljs-doctag {
    color: #d14;
  }

  .hljs-title,
  .hljs-section,
  .hljs-selector-id {
    color: #900;
    font-weight: bold;
  }

  .hljs-subst {
    font-weight: normal;
  }

  .hljs-type,
  .hljs-class .hljs-title {
    color: #458;
    font-weight: bold;
  }

  .hljs-tag,
  .hljs-name,
  .hljs-attribute {
    color: #000080;
    font-weight: normal;
  }

  .hljs-regexp,
  .hljs-link {
    color: #009926;
  }

  .hljs-symbol,
  .hljs-bullet {
    color: #990073;
  }

  .hljs-built_in,
  .hljs-builtin-name {
    color: #0086b3;
  }

  .hljs-meta {
    color: $strongFontColor;
    font-weight: bold;
  }

  .hljs-deletion {
    background: #fdd;
  }

  .hljs-addition {
    background: #dfd;
  }

  .hljs-emphasis {
    font-style: italic;
  }

  .hljs-strong {
    font-weight: bold;
  }
}
